package ycl.important.controller.hovel;

import com.github.xiaoymin.knife4j.annotations.ApiSort;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ycl.important.common.ApiResult;
import ycl.important.service.hovel.TestService;

import javax.annotation.Resource;

/**
 * 测试 控制器
 *
 * @author: YCL
 * @date: 2021-10-27 15:26:55
 */
@RestController
@RequestMapping("/hovel/test")
@Api(tags = "测试")
@ApiSort(21)
public class TestController {

	@Resource
	private TestService testService;

	//@PostMapping("/truncateTable")
	//@ApiOperation("清空所有表")
	//@ApiOperationSupport(order = 1)
	//public ApiResult<T> truncateTable() {
	//	testService.truncateTable();
	//	return ApiResult.success();
	//}

}
